package com.wanke.service;

import java.util.List;
import java.util.Map;

import com.wanke.bean.CheckinDormitoryRecordBean;
import com.wanke.bean.QueryCheckDormitoryCondition;
import com.wanke.entity.Banji;
import com.wanke.entity.CheckinDormitory;
import com.wanke.entity.Dormitory;
import com.wanke.entity.Student;
import com.wanke.entity.Teacher;

public interface DormitoryService {

	/*
	 * 耀锋
	 */
	Map<String, Object> addDormitory(Dormitory dormitory,String counselor_id);
	Map<String, Object> updateDormitory(Dormitory dormitory);
	Teacher findCounselorById(String counselor_id);
	List<Student> findMembersByDormitoryId(int dormitory_id);
	Student findStudentByStudentId(int student_id);
	
	Map<String, Object> getCheckingDormitoryInfo(int student_id);
	Map<String, Object> addDormitoryCheckIn(int student_id,String result);
	
	List<CheckinDormitoryRecordBean> getCheckinDataAsTeacher(Teacher teacher);
	List<CheckinDormitoryRecordBean> getCheckinDataAsTeacherType1(List<CheckinDormitoryRecordBean> result,Teacher teacher);
	List<CheckinDormitoryRecordBean> getCheckinDataAsTeacherType2(List<CheckinDormitoryRecordBean> result,Teacher teacher);
	List<CheckinDormitoryRecordBean> getCheckinDataAsTeacherType3(List<CheckinDormitoryRecordBean> result,Teacher teacher);
	
	CheckinDormitoryRecordBean makeCDRB(Student student,Dormitory dormitory,Teacher counselor,Teacher head_teacher,Banji banji,CheckinDormitory cd,String identity_type);
	
	
	
	List<CheckinDormitoryRecordBean> screenCheckinData(QueryCheckDormitoryCondition condition);
	List<CheckinDormitoryRecordBean> getCheckinDataAsTeacherType1WithCondition(QueryCheckDormitoryCondition condition);
	List<CheckinDormitoryRecordBean> getCheckinDataAsTeacherType2WithCondition(QueryCheckDormitoryCondition condition);
	List<CheckinDormitoryRecordBean> getCheckinDataAsTeacherType3WithCondition(QueryCheckDormitoryCondition condition);
}
